html,
body,
#app,
#nav {
  width: 100%;
  height: 100%;
  border: none;
  padding: 0;
  margin: 0;
}
#nav {
  min-width: 1200px;
  min-height: 760px;
  overflow: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: center;
  color: #2c3e50;
  font-size: 16px;
  background-color: #ededed;
}
#header {
  color: white;
  height: 70px;
  line-height: 70px;
  padding: 0 20px;
  text-align: left;
  background-color: #00465b;
  box-shadow: 0px 7px 8px 0px rgba(0, 0, 0, 0.31);
  > div {
    display: inline-block;
  }
  .logoBox {
    float: left;
    > strong {
      font-size: 2em;
      b {
        font-style: oblique;
      }
    }
    > span {
      margin-left: 15px;
      font-weight: bold;
      font-size: 1.2em;
      letter-spacing: 1px;
    }
  }
  .menuBox {
    width: auto;
    margin: 0 20px 0 10%;
    a {
      height: 100%;
      line-height: 62px;
      color: #488a9e;
      padding: 0 20px;
      text-decoration: none;
      display: inline-block;
      box-sizing: border-box;
      transition: all 0.2s;
    }
    a.active,
    a:hover {
      color: #a4c237;
      border-bottom: 4px solid #a4c237;
    }
  }
  .infoBox {
    float: right;
    font-size: 1em;
    color: #3a7fbf;
    > span {
      cursor: pointer;
      margin: 0 10px;
      color: white;
    }
  }
}
.page {
  width: 100%;
  height: calc(100% - 70px);
  box-sizing: border-box;
  padding: 10px 20px;
  flex-direction: column;
  .search {
    text-align: right;
    height: 50px;
    box-sizing: border-box;
    padding: 5px 0;
    > span {
      margin: 0 10px 0 20px;
    }
    .el-input {
      width: 200px;
      display: inline-block;
    }
  }
  .card {
    height: calc(100% - 50px);
    padding: 20px;
    box-sizing: border-box;
    background-color: white;
    box-shadow: 0px 4px 7px 0px rgba(54, 54, 54, 0.22);
    border-radius: 8px;
    text-align: left;
  }
  .card.all {
    height: 100%;
  }
}
.progressChartBox {
  padding-right: 50px;
  .progressChart {
    display: flex;
    .labels {
      width: auto;
      padding: 0 10px;
      min-width: 50px;
      line-height: 30px;
      p {
        height: 30px;
        margin: 0;
        font-size: 0.9em;
        white-space: nowrap;
        text-align: right;
      }
    }
    .contents {
      flex: 1;
      padding-left: 5px;
      .progressBox {
        border: 1px dashed #ccc;
        border-right: none;
        height: 30px;
        .el-progress {
          margin-top: 5px;
          .el-progress-bar__outer {
            overflow: inherit;
            background-color: rgba(255, 255, 255, 0);
          }
          .el-progress-bar__inner {
            background: linear-gradient(to left, #ff6756 0%, rgba(249, 75, 81, 0.16) 100%);
          }
        }
      }
      .progressBox.coordinate {
        padding-top: 5px;
        border: none;
        display: flex;
        > div {
          flex: 1;
          font-size: 0.9em;
          text-align: left;
        }
      }
    }
  }
}
.progressChartBox .progressChart:first-child {
  .content {
    border-bottom: none;
  }
}
.AlgorithmRow {
  margin-top: 10px;
  .el-col {
    padding-bottom: 20px;
    height: auto;
  }
}
.loginBox,.searchBox {
  overflow: hidden;
  width: 100%;
  height: 100%;
  background-color: #00465b;
  position: fixed;
  top: 0;
  left: 0;
  .searchBox_c{
    margin: 30vh auto;
    width: 60vw;
    >p {
      margin-top: 200px;
      color: white;
      > strong {
        font-size: 2.5em;
        b {
          font-style: oblique;
        }
      }
      span {
        margin-left: 10px;
        font-size: 2.5em;
      }
    }
    .searchInput{
      width: 100%;
      height: 80px;
      font-size: 1.6em;
      line-height: 80px;
      box-sizing: border-box;
      .el-input-group__append, .el-input-group__prepend{
        border: none;
      }
      .el-select{
        .el-input__icon{
          font-size: 1.2em;
        }
        .el-input{
          width: 160px;
        }
      }
      >.el-input__inner{
        height: 80px;
        line-height: 80px;
      }
    }
  }
}
.loginBox {
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0;
  left: 0;
  display: flex;
  justify-content: center;
  justify-items: center;
  align-items: center;
  .login {
    width: 500px;
    height: auto;
    margin-top: -100px;
    p {
      color: white;
      > strong {
        font-size: 2.5em;
        b {
          font-style: oblique;
        }
      }
      span {
        margin-left: 10px;
        font-size: 2.5em;
      }
    }
    .el-input {
      margin-top: 20px;
      .el-input__inner {
        color: rgb(220, 220, 220);
        background-color: #033443;
        border: 1px solid #0a6480;
        height: 50px;
        line-height: 50px;
      }
    }
    .el-button {
      margin-top: 20px;
      width: 100%;
    }
  }
}
.portalBox {
  width: 100%;
  height: 200px;
  box-sizing: border-box;
  p {
    line-height: 30px;
    margin: 0;
    font-size: 1em;
    > span {
      margin-left: 30px;
      color: #409eff;
    }
    > strong {
      color: rgb(255, 70, 70);
    }
  }
}
.errorMsg {
  height: 40px;
  line-height: 40px;
  margin: 0;
  color: rgb(255, 70, 70);
}
.lastP .el-scrollbar__view p:last-child {
  margin-bottom: 20px !important;
}
.layoutBox{
  margin-left: 10px;
  margin-top: 10px;
  width: calc(100% - 10px);
  height: auto;
  padding: 10px;
  box-sizing: border-box;
  background-color:#f2f6fc;
  border: 1px solid #ccc;
  >span{
    font-weight: bold;
  }
  
}

// scrollbar
.el-scrollbar {
  width: 100%;
  height: 100%;
  .el-scrollbar__wrap {
    overflow: scroll;
    width: calc(100% + 17px);
    height: calc(100% + 17px);
  }
}
.el-scrollbar.width {
  width: 100%;
  .el-scrollbar__wrap {
    overflow-x: scroll;
    overflow-y: hidden;
  }
  .is-vertical {
    display: none;
  }
}
.el-scrollbar.height {
  height: 100%;
  .el-scrollbar__wrap {
    overflow-y: scroll;
    overflow-x: hidden;
  }
  .is-horizontal {
    display: none;
  }
}

// components
//labelBox
.labelBox {
  height: 30px;
  text-align: center;
  line-height: 30px;
  width: 100%;
  .left {
    display: inline-block;
    float: left;
    font-weight: bold;
    font-stretch: normal;
    color: #00465b;
  }
  .center {
    display: inline-block;
    width: auto;
    height: 30px;
  }
  .right {
    float: right;
    display: inline-block;
    width: auto;
    height: 30px;
  }
}
.labelBox::before {
  content: " ";
  width: 10px;
  height: 10px;
  float: left;
  margin: 7px 10px 0 3px;
  transform: rotate(45deg);
  display: inline-block;
  border: solid 2px #00465b;
  background-color: #a4c338;
}
//progress
.progress {
  width: 100%;
  height: 20px;
  border-radius: 8px;
  background-color: yellowgreen;
  display: flex;
  .progress-label {
    font-size: 1em;
    text-align: right;
  }
}

.fade-transform-leave-active,
.fade-transform-enter-active {
  transition: all 0.5s;
}

.fade-transform-enter {
  opacity: 0;
  transform: translateX(-30px);
}

.fade-transform-leave-to {
  opacity: 0;
  transform: translateX(30px);
}
// element
.el-input.is-active .el-input__inner,
.el-input__inner:focus,
.el-select .el-input.is-focus .el-input__inner {
  border-color: #00465b;
}
.el-input__inner {
  border-color: #9a9a9a;
}
.el-table {
  margin-top: 10px;
  .has-gutter tr th {
    color: white;
    background-color: #4e8da0;
  }
}
.el-progress-bar__innerText{
  line-height: 20px;
  position: absolute;
  color: #000;
}

@media screen and (max-width: 1400px) {
  #nav {
    font-size: 13px;
  }
}
